<template>
  <div>
    <van-nav-bar
      @click-left="onClickLeft"
      fixed
      placeholder
      z-index="99"
      title="标题"
      left-text="返回"
      left-arrow
    >
      <template #title>
        <img
          src="https://m.assets.shop.hisense.com/assets/files/hisense.46ef582304ee74ce.png"
        />
      </template>
      <template #right>
        <van-icon name="search" size="18" />
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
export default {
    name:'BackToTop',
    data(){
        return {
             onClickLeft:'',

        };

    },
    methods:{
 
        onclickLeft() {
            console.log("点击回退");
           
            
        }
    }



};
</script>

<style lang="scss" scoped>

img {
    width: 50%;
    height: 50%;
}
</style>